package dialer.ws.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * EccpAuthorizedClients entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "eccp_authorized_clients", schema = "call_center")
public class EccpAuthorizedClients implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 7867577819512016386L;
	private Integer id;
	private String username;
	private String md5Password;

	// Constructors

	/** default constructor */
	public EccpAuthorizedClients() {
	}

	/** full constructor */
	public EccpAuthorizedClients(String username, String md5Password) {
		this.username = username;
		this.md5Password = md5Password;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "username", nullable = false, length = 64)
	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Column(name = "md5_password", nullable = false, length = 32)
	public String getMd5Password() {
		return this.md5Password;
	}

	public void setMd5Password(String md5Password) {
		this.md5Password = md5Password;
	}

}